import request from '@/utils/request'

// 查询转让vip列表
export function listAH5vipTrans(query) {
  return request({
    url: '/gf/aH5vipTrans/list',
    method: 'get',
    params: query
  })
}

// 查询转让vip详细
export function getAH5vipTrans(id) {
  return request({
    url: '/gf/aH5vipTrans/' + id,
    method: 'get'
  })
}

// 新增转让vip
export function addAH5vipTrans(data) {
  return request({
    url: '/gf/aH5vipTrans',
    method: 'post',
    data: data
  })
}

// 修改转让vip
export function updateAH5vipTrans(data) {
  return request({
    url: '/gf/aH5vipTrans',
    method: 'put',
    data: data
  })
}

// 删除转让vip
export function delAH5vipTrans(id) {
  return request({
    url: '/gf/aH5vipTrans/' + id,
    method: 'delete'
  })
}

// 逻辑删除转让vip
export function logicDelAH5vipTrans(id) {
  return request({
    url: '/gf/aH5vipTrans/logicDel/' + id,
    method: 'delete'
  })
}
